import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:series_play/widget/app_image.dart';
import 'package:series_play/widget/app_text.dart';

class AppVideoCountView extends StatelessWidget {
  const AppVideoCountView({required this.src, required this.count, super.key});

  final String src;
  final String count;

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisSize: MainAxisSize.min,
      children: [
        AppImage(src, size: 25),
        10.verticalSpace,
        AppText.videoShadowSecondary(count, color: Colors.white),
      ],
    );
  }
}
